<div class=" alert-success "><?php echo $this->Session->flash(); ?></div>
<div class="bs-example"  >
   <div id="response"> </div>
	<div class="menu-top">
		<div class="title-note">
		<h4><?php echo __('Hội thảo'); ?></h4>
		
		</div>
		<div class="option-action">
			<a href="/seminars/add"><button type="button" class="btn btn-primary btn-sm">Thêm mới</button></a>&nbsp;
		</div>
	</div>
	
	<table  class="table table-striped table-bordered">
	<tr>		
			<th width="5%">STT</th>
			<th>Tên hội thảo</th>
			<th >Tác giả</th>
			<th width="10%">Ngày tổ chức</th>                       
			<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
	$n=1;
	
	foreach ($seminars as $value): ?>
	<tr>
		
		<td align="center"><?php echo $n;?></td>
		<td>                
                <?php echo $value['Seminar']['name'];?>
        </td>
		<td><?php  echo $value['Seminar']['author']; ?>&nbsp;</td>		
		<td><?php echo h(date("d-m-Y",strtotime($value['Seminar']['date_metting']))); ?>&nbsp;</td>
		
		
		
               
		<td class="actions">			
			<?php echo $this->Html->link(__(''), array('action' => 'edit', $value['Seminar']['id']),array('title'=>'Sửa câu hỏi','class'=>'fa fa-pencil-square-o')); ?>
			<?php echo $this->Form->postLink(__(''), 
					array('action' => 'delete', $value['Seminar']['id']),
					array('title'=>'Xóa câu hỏi','class'=>'fa  fa-trash-o','style'=>'color:#000'), 
					__('Bạn muốn xóa câu hỏi? ', 
					$value['Seminar']['id'])); ?>
		
		</td>
	</tr>
<?php $n++;endforeach; ?>
	</table>
    <?php echo $this->element('pagination');?>
</div>

